//
//  HMShopViewController.m
//  G05爱鲜蜂
//
//  Created by 曹魏 on 16/10/20.
//  Copyright © 2016年 何源. All rights reserved.
//

#import "PayCell.h"


@interface PayCell ()


@property (weak, nonatomic) IBOutlet UILabel *nameLable;
@property (weak, nonatomic) IBOutlet UILabel *buyNum;
@property (weak, nonatomic) IBOutlet UILabel *singlePrice;

@property (weak, nonatomic) IBOutlet UILabel *giftName;
@property (weak, nonatomic) IBOutlet UILabel *giftNum;
@property (weak, nonatomic) IBOutlet UILabel *totalPrice;
@property (weak, nonatomic) IBOutlet UILabel *deliveryPrice;

@property (weak, nonatomic) IBOutlet UILabel *servePrice;

@property (weak, nonatomic) IBOutlet UILabel *cardPrice;


@end

@implementation PayCell

+(instancetype)settingCell:(UITableView *)tableView withIdentifier:(NSString *)identifier indexPath:(NSIndexPath *)indexPath{
    PayCell *cell;
    NSArray *array = @[@"PayCell",@"PayCell1",@"PayCell2",@"PayCell3",@"PayCell4"];
    for (NSString *str in array) {
        if (identifier == str) {
            
            cell = [tableView dequeueReusableCellWithIdentifier:identifier forIndexPath:indexPath];

        }
    }
   
    return cell;
}



- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
